package com.medata.repository;

import com.medata.dataObject.Corrects;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CorrectsRepository extends JpaRepository<Corrects,String> {
    Page<Corrects> findByName(String name, Pageable pageable);
    void deleteById(Integer id);
}
